package io.renren.modules.project.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.project.dao.ConferenceAccessoryDao;
import io.renren.modules.project.entity.ConferenceAccessoryEntity;
import io.renren.modules.project.service.ConferenceAccessoryService;



@Service("conferenceAccessoryService")
public class ConferenceAccessoryServiceImpl implements ConferenceAccessoryService {
	@Autowired
	private ConferenceAccessoryDao conferenceAccessoryDao;
	
	@Override
	public ConferenceAccessoryEntity queryObject(String id){
		return conferenceAccessoryDao.queryObject(id);
	}
	
	@Override
	public List<ConferenceAccessoryEntity> queryList(Map<String, Object> map){
		return conferenceAccessoryDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return conferenceAccessoryDao.queryTotal(map);
	}
	
	@Override
	public void save(ConferenceAccessoryEntity conferenceAccessory){
		conferenceAccessoryDao.save(conferenceAccessory);
	}
	
	@Override
	public void update(ConferenceAccessoryEntity conferenceAccessory){
		conferenceAccessoryDao.update(conferenceAccessory);
	}
	
	@Override
	public void delete(String id){
		conferenceAccessoryDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		conferenceAccessoryDao.deleteBatch(ids);
	}
	
}
